package api.homework01;

public class StringDemo {
    public static void main(java.lang.String[] args) {
        String str = "Hello";
        String str1 = new String("Hello");
        System.out.println(str == str1);
        String str2 = "Hel";
        str2 = str2 + "lo";
        System.out.println(str2 == str);
        str.equals(str2);


    }
}
